package com.shanliao.service;

import com.shanliao.model.User;
import com.shanliao.netty.ChatMsg;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jason
 * @since 2019-10-05
 */
public interface IUserService extends IService<User> {

	/**
	 * 批量签收
	 * @param msgIdList
	 */
	void updateMsgSigned(List<String> msgIdList);

	/**
	 * 保存消息到数据库，并且标记为 未签收
	 * @param chatMsg
	 * @return
	 */
	String saveMsg(ChatMsg chatMsg);

}
